<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">

<f:be.infobox state="{f:if(condition:'{preset.isAvailable}', then:'0', else:'2')}" disableIcon="true">
	<input
		type="radio"
		class="t3-install-tool-configuration-radio"
		id="t3-install-tool-configuration-passwordHashing-bcrypt"
		name="install[values][{feature.name}][enable]"
		value="{preset.name}"
		{f:if(condition:'{preset.isAvailable}', then:'', else:'disabled="disabled"')}
		{f:if(condition: preset.isActive, then:'checked="checked"')}
	/>
	<label for="t3-install-tool-configuration-passwordHashing-bcrypt" class="t3-install-tool-configuration-radio-label">
		<strong>bcrypt</strong> {f:if(condition: preset.isActive, then:' [Active]')}
	</label>
	<p>
		<f:if condition="{preset.isAvailable}">
			<f:then>
				bcrypt is a good password hashing algorithm. It however needs some additional quirks
				for long passwords in PHP and should only be used if Argon2i is not available.
			</f:then>
			<f:else>
				bcrypt is not available on this system. TYPO3 password storage not only requires bcrypt itself,
				but also sha384 to be availble to use this algorithm. One of these or both are missing. bcrypt however
				can be used as a fallback if Argon2i is not available, too. Ask reach out to your hoster to fix both
				and prefer Argon2i.
			</f:else>
		</f:if>
	</p>
</f:be.infobox>

</html>
